<?php
use app\components\baseviewlist\BaseListAsset;
use yii\widgets\ActiveForm;
use yii\helpers\Url; 
  $web= \app\components\Lcms::getWeb();
 $clasname=$this->context->getName();
?>

<div className="<?= $clasname ?>" <?php 
    if(isset($options['class'])){
        $options['class']=$clasname.' BaseViewList '.$options['class'];
    }else{
        $options['class']=$clasname.' BaseViewList';
    }

       foreach ($options as $key=>$vo){
                echo $key.'="'.$vo.'"';          
       }

?> >
       <?php
        
        echo $this->context->topSelect();
        ?>
    <table>
     <p class="toptitle"><?= $this->context->topTitle ?></p>
    <div class="List_top"><?php 
    echo $this->context->html_Top();
    ?>
     </div>
        <div class="newmsg"></div>
    
  
    <?php  
 
    ?><thead class="List_title"><tr>
            
        <?php
        echo $this->context->echo_th_select();
        
    $list_key=$this->context->Labels();
foreach ($list_key as $key=>$vo){
    echo $this->context->html_Labels($key);
    echo "\r\n";
    } ?>
        </tr></thead>
    
    <tbody class="List_content"><?php
 foreach ($this->context->get_data() as $model){
     
     
   echo $this->context->echo_tbody_tr($model);
     
     
     
 }?></tbody>
    </table>
     <?php  $form = ActiveForm::begin();  ActiveForm::end(); 
 
echo  $this->context->get_html_pages();
echo $this->context->echoDcCommand();


?>
    <input type="hidden" id="max_val" value="<?= $this->context->max_val(); ?>" />
    <input type='hidden' id='start_jiankong' value="<?= $this->context->start_jiankong();  ?>"/>
    <input type="hidden" id="count" value="<?= $this->context->count; ?>" />

<link href="<?= $web ?>public/lcms/baseview.css" rel="stylesheet">
<script src="<?= $web ?>public/lcms/home2.0.js"></script>
</div>